package com.xuetang9.demo.ssm.service;

import java.util.List;


import com.github.pagehelper.Page;
import com.xuetang9.demo.ssm.domain.User;
import com.xuetang9.demo.ssm.domain.dto.LoginDTO;

public interface UserService {

	User login(LoginDTO loginDTO);
	
	List<User> All();
	
	Page<User> AllPage(int pageNum,int pageSize);

}
